package com.tj.bo.trade.server.entity;
import com.fqgj.common.entity.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;
/**
* User: binary
* Date: 2020-06-08
* Time: 16:28:28.171
* TableDesc:交易表
*/
public class BinaryTradeEntity extends BaseEntity{
    /**
    *交易号
    */
    private String tradeNo;
    /**
    *客户号
    */
    private String userCode;
    /**
    *产品code BCHUSD,GBPJPY,EURJPY
    */
    private String productCode;
    /**
    *下单周期，如1min 3min 5min
    */
    private Integer productPeriod;
    /**
    * 订单类型 0:虚拟订单 1:真实订单
    */
    private Integer tradeType;
    /**
    * 下单趋势，0:压跌 1:压涨
    */
    private Integer trendType;
    /**
    * 货币类型 0:INR
    */
    private Integer coinType;
    /**
    *下单金额
    */
    private BigDecimal amount;
    /**
    *利润率
    */
    private BigDecimal profit;
    /**
     * 结算利率润
     */
    private BigDecimal settlementProfit;
    /**
    *盈利金额
    */
    private BigDecimal profitAmount;
    /**
    *订单状态 1:开盘中 2：已开盘
    */
    private Integer orderStatus;
    /**
    *盈利状态 0：未盈利 1：盈利
    */
    private Integer profitStatus;
    /**
    *预计收盘时间
    */
    private Date expectDeadline;
    /**
     *理论收盘时间
     */
    private Date theoryExpectDeadline;
    /**
    *开盘时间
    */
    private Date openingTime;
    /**
    *开盘价格
    */
    private BigDecimal openingPrice;
    /**
    *收盘时间
    */
    private Date closingTime;
    /**
    *收盘价格
    */
    private BigDecimal closingPrice;
    /**
    *创建日期
    */
    private Date createDate;

    public BigDecimal getSettlementProfit() {
        return settlementProfit;
    }

    public BinaryTradeEntity setSettlementProfit(BigDecimal settlementProfit) {
        this.settlementProfit = settlementProfit;
        return this;
    }

    public Date getTheoryExpectDeadline() {
        return theoryExpectDeadline;
    }

    public BinaryTradeEntity setTheoryExpectDeadline(Date theoryExpectDeadline) {
        this.theoryExpectDeadline = theoryExpectDeadline;
        return this;
    }

    public  String getTradeNo(){
        return this.tradeNo;
    }

    public  BinaryTradeEntity setTradeNo(String tradeNo){
        this.tradeNo = tradeNo;
        return this;
    }

    public  String getUserCode(){
        return this.userCode;
    }

    public  BinaryTradeEntity setUserCode(String userCode){
        this.userCode = userCode;
        return this;
    }

    public  String getProductCode(){
        return this.productCode;
    }

    public  BinaryTradeEntity setProductCode(String productCode){
        this.productCode = productCode;
        return this;
    }

    public  Integer getProductPeriod(){
        return this.productPeriod;
    }

    public  BinaryTradeEntity setProductPeriod(Integer productPeriod){
        this.productPeriod = productPeriod;
        return this;
    }

    public  Integer getTradeType(){
        return this.tradeType;
    }

    public  BinaryTradeEntity setTradeType(Integer tradeType){
        this.tradeType = tradeType;
        return this;
    }

    public  Integer getTrendType(){
        return this.trendType;
    }

    public  BinaryTradeEntity setTrendType(Integer trendType){
        this.trendType = trendType;
        return this;
    }

    public  Integer getCoinType(){
        return this.coinType;
    }

    public  BinaryTradeEntity setCoinType(Integer coinType){
        this.coinType = coinType;
        return this;
    }

    public  BigDecimal getAmount(){
        return this.amount;
    }

    public  BinaryTradeEntity setAmount(BigDecimal amount){
        this.amount = amount;
        return this;
    }

    public  BigDecimal getProfit(){
        return this.profit;
    }

    public  BinaryTradeEntity setProfit(BigDecimal profit){
        this.profit = profit;
        return this;
    }

    public  BigDecimal getProfitAmount(){
        return this.profitAmount;
    }

    public  BinaryTradeEntity setProfitAmount(BigDecimal profitAmount){
        this.profitAmount = profitAmount;
        return this;
    }

    public  Integer getOrderStatus(){
        return this.orderStatus;
    }

    public  BinaryTradeEntity setOrderStatus(Integer orderStatus){
        this.orderStatus = orderStatus;
        return this;
    }

    public  Integer getProfitStatus(){
        return this.profitStatus;
    }

    public  BinaryTradeEntity setProfitStatus(Integer profitStatus){
        this.profitStatus = profitStatus;
        return this;
    }

    public  Date getExpectDeadline(){
        return this.expectDeadline;
    }

    public  BinaryTradeEntity setExpectDeadline(Date expectDeadline){
        this.expectDeadline = expectDeadline;
        return this;
    }

    public  Date getOpeningTime(){
        return this.openingTime;
    }

    public  BinaryTradeEntity setOpeningTime(Date openingTime){
        this.openingTime = openingTime;
        return this;
    }

    public  BigDecimal getOpeningPrice(){
        return this.openingPrice;
    }

    public  BinaryTradeEntity setOpeningPrice(BigDecimal openingPrice){
        this.openingPrice = openingPrice;
        return this;
    }

    public  Date getClosingTime(){
        return this.closingTime;
    }

    public  BinaryTradeEntity setClosingTime(Date closingTime){
        this.closingTime = closingTime;
        return this;
    }

    public  BigDecimal getClosingPrice(){
        return this.closingPrice;
    }

    public  BinaryTradeEntity setClosingPrice(BigDecimal closingPrice){
        this.closingPrice = closingPrice;
        return this;
    }

    public  Date getCreateDate(){
        return this.createDate;
    }

    public  BinaryTradeEntity setCreateDate(Date createDate){
        this.createDate = createDate;
        return this;
    }
}
